//通用配置

class ComFun {
    //范围内获取整数随机数
    static GetRandomInt(min:number, max:number): number {  
        var Range = max - min;  
        var Rand = Math.random();  
        return (min + Math.round(Rand * Range));  
    }
}